F.Y.I.
---------- Forwarded message ----------
From: Michael Ridinger <infohiodev [at] gmail.com>
Date: 29 March 2011 00:47
Subject: Re: [INTERNALS-WIN] Re: php_yaz php5.3.5 windows
To: RQuadling [at] googlemail.com
Cc: Richard Quadling <rquadling [at] gmail.com>
Richard,
This was awesome...=C2=A0=C2=A0 I've been out of the office working on rela=
ted
issues but this was very helpful.
Interestingly, your php_yaz.dll was exactly the same size as the one I
built but mine didn't work.=C2=A0 I put yours in my PHP/ext directory and
it worked perfectly.=C2=A0 So, this tells me that I have something messed
up with my environment.=C2=A0 This was a great help.=C2=A0 Not only am I ou=
t of
my immediate bind but I now have a way to test my environment while I
continue to try to set one up.
This list has been invaluable.=C2=A0 Thank you very much to all of you who
commented.=C2=A0 I did follow all of your instructions and you were right
on.=C2=A0 My issue appears to be with my initial environment setup.
Thank you
Mike
On Thu, Mar 24, 2011 at 6:11 AM, Richard Quadling <rquadling [at] gmail.com> wro=
te:
>
> On 23 March 2011 20:12, Michael Ridinger <infohiodev [at] gmail.com> wrote:
> > OK.=C2=A0 I'm at a total loss.=C2=A0 There are no error messages at all=
that tell me
> > what's missing or wrong.=C2=A0 The php --display-startup=3D1 -m command=
shows
> > everything is fine .. but it's not.
> >
> > Does anyone on this list, or can anyone here, build a yaz_dll for PHP5.=
3.5
> > that I could at least try on my systems.=C2=A0 I've literally built thi=
s DLL
> > dozens of times over the last few days with no success at all.=C2=A0 Fr=
om the
> > command line, PHP appears to like it, but when it goes to "really" use =
it
> > ... nada.
> >
> > I've downloaded this DLL before and used it on my server and it worked
> > fine.=C2=A0 But, that was for a different version of PHP and Yaz.=C2=A0=
I'd be willing
> > to send someone a case of whatever they want to eat or drink in exchang=
e for
> > a working copy of the DLL and a hint as to how it was built.
> >
> > Or, does anyone know of a way to get more verbose output in the PHP log=
for
> > this issue ... rather than "The specified module could not be found in
> > Unknown on line 0?"=C2=A0 I've set PHP to log deverything and, unfortun=
ately it
> > does log everything, making my other code seem somewhat illegitmate wit=
h the
> > warnings I get ... but, no additional information about this issue is
> > displayed.
> >
> > I really appreciate the help I've received so far.=C2=A0 It's been inva=
luable.
> > I'm just not quite there yet.
> >
> > Thanks
> >
> > Mike
>
> I've attached my php_yaz.dll. Obviously, please follow all your normal
> procedures for accepting binaries from a third party. I believe the
> file to be clean and use an upto date AV (corporate level Symantec).
>
> I've just built it this morning.
>
> run-tests ../pecl/yaz/tests results are ...
>
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> PHP =C2=A0 =C2=A0 =C2=A0 =C2=A0 : C:\PHP5\php.exe
> PHP_SAPI =C2=A0 =C2=A0: cli
> PHP_VERSION : 5.3.7-dev
> ZEND_VERSION: 2.3.0
> PHP_OS =C2=A0 =C2=A0 =C2=A0: WINNT - Windows NT BV-DEV-SVR-4 5.2 build 37=
90 (Windows
> Server 2003 R2 Standard Edition Service Pack 2) i586
> INI actual =C2=A0: C:\PHP5\php.ini
> More .INIs =C2=A0:
> CWD =C2=A0 =C2=A0 =C2=A0 =C2=A0 : D:\BuildPHP\php53dev\vc9\x86\PHP_5_3
> Extra dirs =C2=A0:
> VALGRIND =C2=A0 =C2=A0: Not used
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> Running selected tests.
> FAIL YAZ CCL test 1 [D:\BuildPHP\php53dev\vc9\x86\pecl\yaz\tests\ccl1.php=
t]
> PASS YAZ connect test 1
> [D:\BuildPHP\php53dev\vc9\x86\pecl\yaz\tests\connect1.phpt]
> FAIL YAZ connect test 2
> [D:\BuildPHP\php53dev\vc9\x86\pecl\yaz\tests\connect2.phpt]
> PASS YAZ search test 1
> [D:\BuildPHP\php53dev\vc9\x86\pecl\yaz\tests\search1.phpt]
> PASS YAZ update test 1
> [D:\BuildPHP\php53dev\vc9\x86\pecl\yaz\tests\update1.phpt]
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> Number of tests : =C2=A0 =C2=A05 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 5
> Tests skipped =C2=A0 : =C2=A0 =C2=A00 ( =C2=A00.0%) --------
> Tests warned =C2=A0 =C2=A0: =C2=A0 =C2=A00 ( =C2=A00.0%) ( =C2=A00.0%)
> Tests failed =C2=A0 =C2=A0: =C2=A0 =C2=A02 ( 40.0%) ( 40.0%)
> Expected fail =C2=A0 : =C2=A0 =C2=A00 ( =C2=A00.0%) ( =C2=A00.0%)
> Tests passed =C2=A0 =C2=A0: =C2=A0 =C2=A03 ( 60.0%) ( 60.0%)
> ------------------------------------------------------------ ---------
> Time taken =C2=A0 =C2=A0 =C2=A0: =C2=A0 19 seconds
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> FAILED TEST SUMMARY
> ------------------------------------------------------------ ---------
> YAZ CCL test 1 [D:\BuildPHP\php53dev\vc9\x86\pecl\yaz\tests\ccl1.phpt]
> YAZ connect test 2 [D:\BuildPHP\php53dev\vc9\x86\pecl\yaz\tests\connect2.=
phpt]
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>
>
> Once you've done your build, run ...
>
> nmake install
>
> I think you need to use the --with-prefix=3DC:\PHP5 (or wherever you
> want) so that nmake install will operate.
>
> Add that location to the path and then you should be able to run tests ea=
sily.
>
>
> Do you have VNC installed? I could go through the setup easily enough
> if you want?
>
> Copying the yaz4.dll won't be enough. It has its own dependencies.
>
> If the location is in the path, then can you type the following and
> tell me the output?
>
> FOR %a IN (yaz-client.exe) DO [at] ECHO %~$Path:a
>
> What output (if any) do you get? Did you install the complete YAZ package=
?
>
>
> Richard.
>
> --
> Richard Quadling
> Twitter : EE : Zend
> [at] RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
--
Richard Quadling
Twitter : EE : Zend
[at] RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
